package cn.hicard.auth.entity;

/**
 * MgRoleSource entity. @author MyEclipse Persistence Tools
 */

public class MgRoleSource implements java.io.Serializable {

	// Fields

	private MgRoleSourceId id;
	private Integer parentid;
	private String controlid;

	// Constructors

	/** default constructor */
	public MgRoleSource() {
	}

	/** minimal constructor */
	public MgRoleSource(MgRoleSourceId id) {
		this.id = id;
	}

	/** full constructor */
	public MgRoleSource(MgRoleSourceId id, Integer parentid, String controlid) {
		this.id = id;
		this.parentid = parentid;
		this.controlid = controlid;
	}

	// Property accessors

	public MgRoleSourceId getId() {
		return this.id;
	}

	public void setId(MgRoleSourceId id) {
		this.id = id;
	}

	public Integer getParentid() {
		return this.parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

	public String getControlid() {
		return this.controlid;
	}

	public void setControlid(String controlid) {
		this.controlid = controlid;
	}

}
